home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-05-01 | 5.3 KB | 427 lines | [TEXT/WORD] |
- Here is a nice little script that will that will tell you if a toolbox
- routine moves memory. The script should be pasted into your UserStartUp file,
- and the Routines file should be placed in the MPW folder.
- To use the script select the procedure in question and type command-P. If
- the procedure does move memory the script will put up an alert. If it does not
- move memory the script will generate a beep.
- I have the old phone book edition of Inside Mac Vol 1-3. It doesn't have
- the list of routines that the new edition has. I didn't want to pay 20 dollars
- for the new Vol 3 so I just copied the most common routines while at the
- bookstore. If someone wants to type in and upload the complete list I would
- sure appreciate it.
-
- Jesse Jones
-
-
- AddMenu Find 'Moves Memory/P' ∂
- 'BEGIN; ∂
- Set Exit 0; ∂
- Set ProcName `Catenate "{Active}.§"`; ∂
- search -i -q /•{ProcName}∞/ {MPW}Routines > Dev:Null ≥ Dev:Null; ∂
- IF {Status} == 0; ∂
- Alert "{ProcName} Moves Memory!"; ∂
- ELSE; ∂
- Beep; ∂
- END; ∂
- Set Exit 1; ∂
- END'
-
- AddResMenu Inside Mac Vol 1 (Partial)
- Alert
- AppendMenu
- BeginUpdate
- BringToFront
- Button
- CautionAlert
- CharWidth
- CheckItem
- CheckUpdate
- ClipRect
- CloseDialog
- ClosePicture
- ClosePoly
- ClosePort
- CloseRgn
- CloseWindow
- CopyBits
- CopyRgn
- DisposDialog
- DisposeDialog
- DisposeControl
- DisposeMenu
- DisposeRgn
- DisposeWindow
- DisposHandle
- DisposeHandle
- DisposPtr
- DisposePtr
- DrawWindow
- DrawChar
- DrawDialog
- DrawGrowIcon
- DrawMenuBar
- DrawNew
- DrawPicture
- DrawString
- DrawText
- EmptyHandle
- EndUpdate
- EventAvail
- FindControl
- GetClip
- GetCursor
- GetDItem
- GetFontInfo
- GetIcon
- GetIndPattern
- GetIndResource
- GetIndString
- GetMenu
- GetMenuBar
- GetMouse
- GetNewControl
- GetNewDialog
- GetNewMBar
- GetNewWindow
- GetNextEvent
- GetPattern
- GetPicture
- GetResource
- GetScrap
- GetString
- GrowWindow
- HandAndHand
- HandToHand
- HideControl
- HideWindow
- HiliteControl
- HiliteMenu
- HiliteWindow
- InsertMenu
- InsetRgn
- InvalRect
- KillControls
- KillPicture
- KillPoly
- Line
- LineTo
- MenuKey
- MenuSelect
- ModalDialog
- MoveControl
- MoveWindow
- NewControl
- NewDialog
- NewHandle
- NewMenu
- NewPtr
- NewRgn
- NewString
- NewWindow
- NoteAlert
- NumToString
- OpenDeskAcc
- OpenPicture
- OpenPoly
- OpenPort
- OpenRgn
- ParamText
- ScrollRect
- SectRect
- SelectWindow
- SelIText
- SetClip
- SetCTitle
- SetCtlMax
- SetCtlMin
- SetCtlValue
- SetDItem
- SetItem
- SetIText
- SetWTitle
- ShowControl
- ShowHide
- ShowWindow
- SizeControl
- SizeWindow
- StopAlert
- StringToNum
- SysBeep
- SystemClick
- SystemEdit
- SystemMenu
- TEActivate
- TEDeActivate
- TEClick
- TEGetText
- TEIdle
- TESetText
- TECopy
- TECut
- TEPaste
- TEDelete
- TEInsert
- TEDispose
- TEKey
- TEnew
- TEScroll
- TestControl
- TEUpdate
- TextBox
- TextWidth
- TrackControl
- TrackGoAway
- UnionRgn
- ValidRect
- ValidRgn
- WaitMouseUp
-
- DelMenuItem Inside Mac Vol 4
- Draw1Control
- FindDItem
- FontMetrics
- Get1IndResource
- Get1IndType
- Get1NamedResource
- Get1Resource
- HideDItem
- InsMenuItem
- MeasureText
- MoveHHi
- NewEmptyHandle
- OpenRFPerm
- PStr2Dec
- Dec2Str
- CStr2Dec
- ShowDItem
- TEAutoView
- TEPinScroll
- TESelView
- TrackBox
- UpdtControl
- UpdtDialog
- ZoomWindow
-
- ActivatePalette Inside Mac Vol 5
- ADBReInit
- AddComp
- AddSearch
- AllocCrsr
- BackColor
- BackPat
- BackPixPat
- Char2Pixel
- CharWidth
- ClipRect
- CloseCPort
- CMY2RGB
- Color2Index
- CopyMask
- CopyPalette
- CopyRgn
- CTab2Palette
- DelComp
- DelMCEntries
- DelSearch
- DiffRgn
- DispMCInfo
- DisposCIcon
- DisposeCIcon
- DisposCTable
- DisposeCTable
- DisposePalette
- DisposeRgn
- DisposGDevice
- DisposeGDevice
- DisposePixMap
- DisposPixMap
- DisposePixMap
- DisposPixPat
- DisposePixPat
- DrawChar
- DrawJust
- DrawPicture
- DrawString
- DrawText
- EraseArc
- EraseOval
- ErasePalette
- Erasepoly
- EraseRect
- EraseRgn
- EraseRoundRect
- FillArc
- FillCArc
- FillCOval
- FillCPoly
- FillCRect
- FillCRgn
- FillCRoundRect
- FillOval
- FillPoly
- FillRect
- FillRgn
- FillRoundRect
- FindWord
- Fix2SmallFract
- FMSwapFont
- Font2Script
- FontScript
- ForeColor
- FrameArc
- FrameOval
- FramePoly
- FrameRect
- FrameRgn
- FrameRoundRect
- GetAuxCtl
- GetCCursor
- GetCIcon
- GetColor
- GetCTable
- GetFontInfo
- GetGrayRgn
- GetMCInfo
- GetNewCWindow
- GetNewPalette
- GetPixPat
- GetStylHandle
- GetStylScrap
- GetSubTable
- HiliteText
- HSL2RGB
- HSV2RGB
- InitCPort
- InitGDevice
- InitGraf
- InitPalettes
- InitPort
- InitPRAMRecs
- InitProcMenu
- InitSDeclMgr
- InitsRsrcTable
- InitRsrcTable
- InsetRgn
- IntlScript
- InvertArc
- InvertOval
- InvertPoly
- InvertRect
- InvertRgn
- InvertRoundRect
- KeyScript
- KillPicture
- KillPoly
- Line
- LineTo
- MakeITable
- MapRgn
- MeasureJust
- MeasureText
- NewCDialog
- NewCWindow
- NewGDevice
- NewPalette
- NewPixMap
- NewPixPat
- NewPort
- NewRgn
- OpenCPicture
- OpenCPort
- OpenPicture
- OpenPixMap
- OpenPoly
- OpenPort
- OpenRgn
- PaintArc
- PaintOval
- PaintPoly
- PaintRect
- PaintRgn
- PaintRoundRect
- Palette2CTab
- PenNormal
- PenPat
- PenPixPat
- Pixel2Char
- PlotCIcon
- PMBackColor
- PMForeColor
- PopUpMenuSelect
- PrClose
- PrCloseDoc
- PrClosePage
- PrCtlCall
- PrDrvrClose
- PrDrvrDCE
- PrDrvrOpen
- PrDrvrVers
- PrError
- PrGeneral
- PrintDefault
- PrJobDialog
- PrJobMerge
- PrOpen
- PrOpenDoc
- PrOpenPage
- PrPicFile
- PrSetError
- PrStlDialog
- PrStylDialog
- PrValidate
- RealColor
- RGB2CMY
- RGB2HSL
- RGB2HSV
- RGBBackColor
- RGBForeColor
- RGetResource
- ScrollRect
- SectRgn
- SetCCursor
- SetCPixel
- SetCtlColor
- SetDeskCPat
- SetEmptyRgn
- SetMCEntries
- SetMCInfo
- SetRectRgn
- SetStylHandle
- SetWinColor
- sExec
- sGetBlock
- sGetcString
- sGetDriver
- ShutDwnInstall
- ShutDwnRemove
- SmallFract2Fix
- SndAddModifier
- SndDisposeChannel
- SndNewChannel
- sPrimaryInit
- StdArc
- StdBits
- StdComment
- StdLine
- StdOval
- StdPoly
- StdPutPic
- StdRect
- StdRgn
- StdRRect
- StdText
- StdTxMeas
- StringWidth
- TEGetHeight
- TEGetOffset
- TEGetPoint
- TEGetStyle
- TEReplaceStyle
- TESetStyle
- SetStylInsert
- TEStylNew
- TEStylPaste
- TextWidth
- Transliterate
- UnionRgn
- XorRgn